package com.ltmonitor.service.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.ltmonitor.jt809.entity.PlatformInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ltmonitor.dao.IPlatformInfoDao;
import com.ltmonitor.service.IPlatformInfoService;

@Service("platformInfoService")
public class PlatformInfoService extends BaseService<Long, PlatformInfo> implements IPlatformInfoService {

	@Autowired
	private IPlatformInfoDao PlatformInfoDao;


	public PlatformInfo getPlatformInfo(int platformId) {

		String hql = "from PlatformInfo where platformId = ? and deleted = false";
		PlatformInfo p = PlatformInfoDao.find(hql,
				platformId);
		return p;
	}

}
